package com.hongdee.scm.stock.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TScmStock
 * 类  型:class
 * 描  述:
 * 路  径:com.hongdee.scm.stock.entity
 * 作  者: 术洪超
 * 日  期:2017-05-12 14:02
 */

@Entity
@Table(name = "T_SCM_STOCK")
public class TScmStock extends BaseEntity {

    //车辆ID
    @Column(name = "car_id", length = 50, columnDefinition = "VARCHAR(50) COMMENT '车辆ID'")
    private String carId;

    //仓库ID
    @Column(name = "warehouse_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '仓库'")
    private String warehouseId;

    //车架号
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车架号'")
    private String vin;

    //库位
    @Column(name = "warehouse_location", length = 32, columnDefinition = "VARCHAR(32) COMMENT '库位'")
    private String warehouseLocation;

    //入库时间
    @Column(name = "enter_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '入库时间'")
    private String enterDate;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    //品牌
    @Column(name = "brand", length = 32, columnDefinition = "VARCHAR(32) COMMENT '品牌'")
    private String brand;

    //车系
    @Column(name = "car_series", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车系'")
    private String carSeries;

    //车型
    @Column(name = "car_model", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型'")
    private String carModel;

    //配置
    @Column(name = "configure_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '配置'")
    private String configureName;

    //发动机号
    @Column(name = "engine_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '发动机号'")
    private String engineNum;


    //外观颜色ID
    @Column(name = "appearance_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '外观颜色ID'")
    private String appearanceId;

    //外观颜色
    @Column(name = "appearance_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '外观颜色'")
    private String appearanceName;

    //内饰
    @Column(name = "interior_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '内饰ID'")
    private String interiorId;

    @Column(name = "certificate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '合格证号'")
    private String certificateNum;

    //入库类型（1采购入库2已售3调拨入库）
    @Column(name = "enter_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '入库类型'")
    private String enterType;

    /*  //车辆是否可销售
    @Column(name = "sale_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车辆状态'")
    private String saleType;*/



    //车辆调拨状态（0可调拨1调拨中2调拨锁定）默认0
    @Column(name = "allocation_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车辆调拨状态（0可调拨1调拨中2调拨锁定）'")
    private String allocationStatus;

    //盘点差异类型 0 正常 1 盘盈 2 盘亏
    @Column(name = "difference_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '盘点差异类型 0 正常 1 盘盈 2 盘亏'")
    private String differenceType;

    //单车的盘点差异原因
    @Column(name = "difference_reason", length = 255, columnDefinition = "VARCHAR(255) COMMENT '单车的盘点差异原因'")
    private String differenceReason;

    public String getAppearanceName() {
        return appearanceName;
    }

    public void setAppearanceName(String appearanceName) {
        this.appearanceName = appearanceName;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getEngineNum() {
        return engineNum;
    }

    public void setEngineNum(String engineNum) {
        this.engineNum = engineNum;
    }

    public String getDifferenceType() {
        return differenceType;
    }

    public void setDifferenceType(String differenceType) {
        this.differenceType = differenceType;
    }

    public String getDifferenceReason() {
        return differenceReason;
    }

    public void setDifferenceReason(String differenceReason) {
        this.differenceReason = differenceReason;
    }

    public String getAppearanceId() {
        return appearanceId;
    }

    public void setAppearanceId(String appearanceId) {
        this.appearanceId = appearanceId;
    }

    public String getInteriorId() {
        return interiorId;
    }

    public void setInteriorId(String interiorId) {
        this.interiorId = interiorId;
    }

    public String getEnterType() {
        return enterType;
    }

    public void setEnterType(String enterType) {
        this.enterType = enterType;
    }

    public String getConfigureName() {
        return configureName;
    }

    public void setConfigureName(String configureName) {
        this.configureName = configureName;
    }

    public String getCertificateNum() {
        return certificateNum;
    }

    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }

    public String getCarSeries() {
        return carSeries;
    }

    public void setCarSeries(String carSeries) {
        this.carSeries = carSeries;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(String enterDate) {
        this.enterDate = enterDate;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getWarehouseLocation() {
        return warehouseLocation;
    }

    public void setWarehouseLocation(String warehouseLocation) {
        this.warehouseLocation = warehouseLocation;
    }

    public String getAllocationStatus() {
        return allocationStatus;
    }

    public void setAllocationStatus(String allocationStatus) {
        this.allocationStatus = allocationStatus;
    }
}
